<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <div th:include="Common/common :: head"></div>
    <script type="text/javascript">
        $(function (){
            $("#return1").click(function (){
                location.href="http://localhost:8080/games";
            });
        })
    </script>
</head>
<body>
</body>
<div id="main-wrapper">
    <!--Header section start-->
    <div th:include="Common/common :: header"></div>
    <!--Header section end-->
    <button th:if="${session.orderid}" type="button" class="btn btn-primary btn-lg btn-block" id="return1"  th:text="'恭喜您下单成功，订单号为：'
    +${session.orderid}+'🛒'+点我返回"></button>
    <button th:if="${session.error!=null}" type="button" class="btn btn-danger btn-lg btn-block" id="return2"  th:text="${session.error}+'点我充值'"></button>
</div>
</html>